package com.fengye.lock.zk.response;

import lombok.Data;

/**
 *
 * @author sky
 * @date 2021年06月09日 4:05 下午
 */

@Data
public class BaseResponse {
    private int code;
    private String msg;

    public BaseResponse() {

    }
    public BaseResponse(StatusCode statusCode) {
        this.code = statusCode.getCode();
        this.msg = statusCode.getMsg();
    }

    public BaseResponse(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
